This page last changed on Feb 06, 2006 by orogers.

Iteration Labeller

The Iteration Labeller is similar to the Default Labeller; however, it maintains a revision number that is incremented by one for each iteration from the release start date. For example, if the release start date was June 1, 2005 and the iteration duration was 2 weeks, the iteration number on July 1, 2005 would be 3. This would create a label of <prefix>.3.<build number>.

<project>
   <labeller type="iterationlabeller">
     <prefix>1.2</prefix>
     <duration>1</duration>
     <releaseStartDate>2005/6/24</releaseStartDate>
     <separator>_</separator>
   </labeller>	
   <!-- Other project configuration to go here -->
</project>

Configuration Elements:

Node Description Type Required Default
prefix Any string to be put in front of all labels string false ""
duration The duration of the iteration in weeks string false 2
releaseStartDate The start date for the release (the start date of iteration one) string true  
separator The separator between the iteration number and the build number string false .
incrementOnFailure If true, the label will be incremented even if the build fails. Otherwise it will only be incremented if the build succeeds. (Added in CCNet 1.1) string false false

Contributed by Craig Campbell

Document generated by Confluence on Mar 14, 2009 02:55